<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" errorPage="." %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>浙江孵化器在线后台管理系统---通讯录管理---用户管理</title>
    <link href="<spring:url value="/static/style/index.css" htmlEscape="true" />" rel="stylesheet" type="text/css">
</head>
<body>
<div class="list_right_title">
    <span><img src="<spring:url value="/static/images/im.jpg" htmlEscape="true" />" alt="用户管理"></span>通讯录管理>用户管理
</div>
<div class="fhq_add">
    <%@ include file="/WEB-INF/jsp/management/common/operationResultHint.jsp" %>
    <div class="fhq_add_in">
        <div class="fhq_add_form">
            <form:form modelAttribute="contactMember" method="post" action="saveManageMember" >
            <form:hidden path="id"/>
            <table class="fhq_add_table" cellpadding="0" cellspacing="" summary="通讯录管理>用户管理">
             <tr>
                    <th width="20%">组选择：</th>
                    <td width="80%">
                        <select multiple="multiple" name="groupIDArray" style="width:250px;height:250px">
                            <c:forEach items="${contactGroupMap}" var="contactGroup">
                                 <option value="${contactGroup.key}" <c:if test="${fn:contains(contactMember.tempGroupIDConcat, contactGroup.key)}">selected="selected" </c:if> >${contactGroup.value}</option>
                            </c:forEach>
                        </select>
                    </td>
                </tr>
                 <tr>
                    <th>姓名：</th>
                    <td>
                        <form:input path="name"/>
                    </td>
                </tr>
                 <tr>
                    <th>职务：</th>
                    <td>
                        <form:input path="position"/>
                    </td>
                </tr>
                 <tr>
                    <th>公司：</th>
                    <td>
                        <form:input path="company"/>
                    </td>
                </tr>
                 <tr>
                    <th>移动电话：</th>
                    <td>
                        <form:input path="mobile"/>
                    </td>
                </tr>
                 <tr>
                    <th>固定电话：</th>
                    <td>
                        <form:input path="telephone"/>
                    </td>
                </tr>
                 <tr>
                    <th>Email：</th>
                    <td>
                        <form:input path="email"/>
                    </td>
                </tr>
                <tr>
                    <th>备注：</th>
                    <td>
                        <form:textarea path="description" tabindex="1" rows="5" cssClass="add_form_textarea"/>
                    </td>
                </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td style="padding-top:20px;">
                        <input type="submit" value=" 保存 " />
                        <input type="button" value=" 返回 " onclick="window.location.href='listContactMembers'"/>
                    </td>
                </tr>
            </table>
            </form:form>
        </div>
    </div>
</div>
</body>
</html>